package queue

type Queue []int

func (q *Queue) Push(e int) {
	*q = append(*q, e)
}

func (q *Queue) Pop() int {
	e := (*q)[0]
	*q = (*q)[1:]
	return e
}
